<?php

/**
 * 网站后台路由--Banner 图管理
 */

Route::group(['middleware'=>'adminAuth', 'namespace' => 'Admin', 'prefix' => 'admin/banner/'],function() {
	Route::get('datalist/{classify?}', 'BannerController@listData');
	Route::get('addview', 'BannerController@addDataView');
	Route::post('addsave', 'BannerController@toAddData');
	Route::get('editview/{id}', 'BannerController@updateDataView');
	Route::post('editsave/{id}', 'BannerController@toUpdateData');
});

